.executives {
  background-size: cover;
  background-repeat: no-repeat;
}

.executives-container {
  padding: 4.375rem 1.875rem;
  cursor: default;
  margin: 0 auto;
  max-width: 85rem;
}

.executive-head {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 3rem;
  text-align: center;
  color: rgb(24, 28, 23);
  margin-top: 2rem;
}

.executive-subhead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.75rem;
  text-align: center;
  color: rgba(24, 28, 23, 0.8);
  margin: 1.75rem auto 2rem;
  max-width: 40rem;
}

.executives-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 30rem;
  height: 3.5rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  margin: 1.5rem auto;
  background-color: rgb(225, 225, 225);
}

.cp-button {
  color: rgba(24, 28, 23, 0.6);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
  padding: 0.875rem 3.1875rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cp-button.active {
  box-shadow: 0rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.1);
  background-color: rgb(19, 134, 1);
  color: #fff;
  padding: 0.875rem 1.875rem;
  border-radius: 0.5rem;
}

.cp-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.year-range {
  text-align: center;
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

.year-range-value {
  font-weight: 600;
  color: #2b6cb0;
}

.executive-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  justify-items: center;
}

@media screen and (max-width: 1024px) {
  .executive-subhead {
    margin: 0.75rem auto 2rem;
  }
}

@media screen and (max-width: 768px) {
  .executives-container {
    padding: 2rem;
  }
  .executive-head {
    font-size: 1.8rem;
  }
  .executive-subhead {
    font-size: 1.1rem;
  }
  .executive-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 425px) {
  .executive-head {
    font-size: 1.4rem;
    line-height: 1.1;
  }
  .executives-nav {
    flex-direction: column;
    height: auto;
  }
  .cp-button {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}